Commit 9659f242 authored by Erick Hitter's avatar Erick Hitter

Fix asset enqueuing

Fixes #3, which was a misdiagnosis.
parent 4c82dace
Pipeline #1050 passed with stages
in 6 minutes and 16 seconds
......@@ -290,7 +290,7 @@ class WP_Revisions_Control {
// A bit of JS for us.
$handle = 'wp-revisions-control-post';
wp_enqueue_script( $handle, plugins_url( 'js/post.js', __FILE__ ), array( 'jquery' ), '20131205', true );
wp_enqueue_script( $handle, plugins_url( 'js/post.js', __DIR__ ), array( 'jquery' ), '20131205', true );
wp_localize_script(
$handle,
$this->settings_section,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment